package itsm.isperp.module.repository.sparepart;

import itsm.isperp.framework.data.domain.DataResponse;
import itsm.isperp.framework.data.mybatis.dao.CUDMapper;
import itsm.isperp.framework.web.request.JqGridRequest;
import itsm.isperp.module.entity.sparepart.SptSparepart;

import java.util.Map;

import org.springframework.stereotype.Repository;

/// <summary>
/// 描述:spt_sparepart
/// 创建者:zhouhg
/// 创建时间:2013/7/9
/// </summary> 
@Repository
public interface SptSparepartMapper extends CUDMapper<SptSparepart> {

	DataResponse<Map<String, Object>> findAllDetailByRequest(JqGridRequest req);
	
	DataResponse<Map<String, Object>> findSparepartAllList(JqGridRequest req);
	
	DataResponse<Map<String, Object>> findAllProjectUsedByRequest(JqGridRequest req);
	
	DataResponse<Map<String, Object>> findSparepartProjectInUse(JqGridRequest req);
	
	DataResponse<Map<String, Object>> findSparepartProjectInUseExtend(JqGridRequest req);
	
	DataResponse<Map<String, Object>> findSparepartTotal(JqGridRequest req);

}